for (var i = 0; i < 10; i++) {
  console.log(i);
}

this.axios().then((res) => {
  this.data = res;
});
var that = this;
this.axios().then(function (res) {
  this.data = res;
});
function a() {}
